//
//  GoodsListModel.m
//  TerritoryShopkeeper
//
//  Created by xiaowu on 2017/12/1.
//  Copyright © 2017年 ZDQK. All rights reserved.
//

#import "GoodsListModel.h"

@implementation GoodsListModel
MJCodingImplementation
- (NSString *)gseckillprice {
    return [_gseckillprice replacePriceSuffix];
}
- (NSString *)goldprice {
    return [_goldprice replacePriceSuffix];
}
- (NSString *)gprice {
    return [_gprice replacePriceSuffix];
}
- (NSString *)collectioncount {
    if (TextIsNotNil(_collectioncount) && _collectioncount.integerValue>0) {
        return _collectioncount;
    }
    return @"0";
}
- (NSString *)escore {
    return TextIsNotNil(_escore)?_escore:@"0";
}
- (NSString *)evaluate {
    return TextIsNotNil(_evaluate)?_evaluate:@"0";
}
@end
